<?PHP
 session_start();
 include("admin/include/db.php");
// include("includes/session.php");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=TITLE_WEBSITE?></title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<center>
<div style="background:#179cc1; height:3px">&nbsp;</div>
<div style="width:990px;" align="center">
		<div id="header">
		<?php
    		include("includes/header.php");
   		?>
        </div>
    <div style="margin-top:20px;">
    	 
        <div style="width:100%;float:left">
        	<div style="margin-top:20px;">
 
       
        <div style="width:85%; margin-left:40px" >
        	<div align="left" >
            	<span class="headingOrange" ><strong> Meetings</strong></span>
            </div>
               <?php
				  $LanQry   = "SELECT SF.*,SU.first_name FROM `software_meeting` as SF 
				  								INNER JOIN software_user AS SU ON SU.Id = SF.user_id where SF.active = 'Y'";
				  $resQuery = mysql_query($LanQry);
				  while($rowQuery = mysql_fetch_array($resQuery))
				  {	
				?>
            <div class="text1" style=" margin-top:10px"  align="left" >
            	<div  style=" padding:10px; font-family:Arial, Helvetica, sans-serif; background:#EE7B00; color:#FFF;padding-left:10px "  >	
                    <div style="float:left; width:30%" class="text" >Meeting Link:</div>
                    <div style="float:left; width:30%" ><?=$rowQuery['meeting_link']?>  </div>
                     <div style="float:left; width:30%" >By <?=$rowQuery['first_name']?></div>
                    <div style=" clear:both" ></div>
                </div>
         		  <div  style=" padding-top:18px;padding-left:10px" >	
                    <div style="float:left; width:30%" class="text" >Meeting Date:</div>
                    <div style="float:left; width:70%" ><?=$rowQuery['meeting_date']?></div>
                    <div style=" clear:both" ></div>
                </div>
                 <div style=" padding-top:10px;padding-left:10px" >	
                    <div style="float:left; width:30%" class="text" >Meeting Time:</div>
                    <div style="float:left; width:70%" ><?=$rowQuery['meeting_time']?></div>
                    <div style=" clear:both" ></div>
                </div>
                 
                
                <div style="margin-top:10px;padding-left:10px"  >	
                    <div style="float:left; width:30%" class="text" >Dial:</div>
                    <div style="float:left; width:70%" ><?=$rowQuery['meeting_dial']?></div>
                    <div style=" clear:both" ></div>
                </div>
                <div  style="margin-top:10px;padding-left:10px" >	
                    <div style="float:left; width:30%" class="text" >Access Code:</div>
                    <div style="float:left; width:70%" ><?=$rowQuery['access_code']?></div>
                    <div style=" clear:both" ></div>
                </div>
                 <div  style="margin-top:10px;padding-left:10px" >	
                    <div style="float:left; width:30%" class="text" >Meeting Id:</div>
                    <div style="float:left; width:70%" ><?=$rowQuery['meeting_ids']?></div>
                    <div style=" clear:both" ></div>
                </div>
             </div>
             <?php
				  }
			 ?>
        </div>
        </form>
      <div style="clear:both"></div>
    </div>
        	
        </div>
        <div style="clear:both"></div>
    </div>
    
    <div style="margin-top:23px; margin-bottom:21px" align="center" >
    	<?php
									$sqlAdvertise = mysql_query("SELECT * FROM software_advertise 
																	WHERE 
																		banner_status = 'Y' AND banner = 2
																		ORDER BY RAND()
																		");
									$resAdvertise = mysql_fetch_array($sqlAdvertise);
							
									$imgPath  = 'admin/upload_images/'.$resAdvertise["banner_image"];
									
								?>
								<a href="http://<?=$resAdvertise["banner_url"]?>" target="_blank" ><img border="0" src="<?=$imgPath?>"  width="729" height="86" /></a>
    </div>
   </div>
   <div id="footer">
  		<?php include("includes/footer.php")?>
   </div>
</div>
	</div>
</center>
</body>
</html>
